@import "../../../style.less";

#NewTileSet {
    display: flex;
    height: 100%;
    .tabsPanel {
        min-width: 120px;
        position: relative;
        height: 100%;
        .ant-tabs-bar {
            width: 100%;
        }
        .ant-tabs-tab {
            text-align: center;
        }
    }
    .canvasPanel {
        display: flex;
        flex-direction: column;
        flex: 0 0 48px * 8 + 4px;
        position: relative;
        
        .ant-upload.ant-upload-drag {
            padding: 0 !important;
            .ant-upload-drag-container {
                padding: 16px;
            }
        }

        .canvasContainer {
            padding: 2px;
        }

        .materialTips {
            top: 0;
            left: 48px * 8 + 2px;
            height: 100%;
            width: 50px;
            overflow-x: hidden;
            overflow-y: hidden;
            position: absolute;
            
            > div.materialTip {
                position: absolute;
                left: 0;
                top: 0;
                width: 0;
                .ant-btn {
                    line-height: 24px;
                    border-radius: 0;
                    width: 24px;
                    margin: 0;
                    padding: 0;
                    > span {
                        margin: 0;
                        padding: 0;
                    }
                    &.first {
                        border-top-right-radius: 4px;
                    }
                    &.last {
                        border-bottom-right-radius: 4px;
                    }
                }
                .ant-upload {
                    > .ant-btn {
                        top: 2px;
                        border-top-right-radius: 4px;
                        border-bottom-right-radius: 4px;
                    }
                } 
            }            
        }

        > .uploadButtonContainer {
            background-color: currentColor;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
        }
    }
    .configPanel {
      flex: 1
    }
}